package com.gzyj.flink.dto.alarm;


import com.gzyj.flink.dto.utils.DateUtils;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class RiskData implements Serializable {

    public Date GpsTime  = DateUtils.MIN_VALUE();

    /// <summary>
    /// 0表示判断风险，1表示曾经进过风险等待进属地
    /// </summary>
    public int Status;

    /// <summary>
    /// 进风险区标志
    /// </summary>

    public boolean InRisk = false;
    /// <summary>
    /// 进风险区时间
    /// </summary>
    public Date InRiskTime  = DateUtils.MIN_VALUE();
    /// <summary>
    /// 进风险区ID
    /// </summary>
    public long RiskId  = -1;
    /// <summary>
    /// 风险区名字
    /// </summary>
    public String RiskName = "";
    /// <summary>
    /// 风险区等级
    /// </summary>
    public int RiskLevel  = -1;
    /// <summary>
    /// 进风险区经度
    /// </summary>
    public double InRiskLongitude;
    /// <summary>
    /// 进风险区纬度
    /// </summary>
    public double InRiskLatitude ;
    /// <summary>
    /// 出风险区时间
    /// </summary>
    public Date OutRiskTime= DateUtils.MIN_VALUE();
    /// <summary>
    /// 出风险区经度
    /// </summary>
    public double OutRiskLongitude;
    /// <summary>
    /// 出风险区纬度
    /// </summary>
    public double OutRiskLatitude;

    /// <summary>
    /// 进属地标志
    /// </summary>
    public boolean InDependency = false;
    /// <summary>
    /// 进属地时间
    /// </summary>
    public Date InDependencyTime = DateUtils.MIN_VALUE();
    /// <summary>
    /// 属地ID
    /// </summary>
    public long DependencyId= -1;
    /// <summary>
    /// 属地名称
    /// </summary>
    public String DependencyName  = "";
    /// <summary>
    /// 进属地经度
    /// </summary>
    public double InDependencyLongitude;
    /// <summary>
    /// 进属地纬度
    /// </summary>
    public double InDependencyLatitude;


}
